<?php



function get_include_contents($filename) {
    if (is_file($filename)) {
        ob_start();
        include $filename;
        $contents = ob_get_contents();
        ob_end_clean();
        return $contents;
    }
    return false;
}

$title="galerie";
$style="";
$ausgabe=get_include_contents('galerie.php');


echo '<!-- HtmlTemplate -->
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>'.$title.'</title>

<style type="text/css">
 '.$style.'
</style>
<script language="JavaScript" src="galerie.js">
</script>
</head>

<body >
 '.$ausgabe.'
</body style="width:100%">
<!-- copyright stg7@gmx.de -2008- -->
</html>
<!-- HtmlTemplate Ende-->';


